package com.sunny.ynhz.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * Created by luao on 2017/7/25.
 */

public class RecentNewsBean {
    /**
     * data : [{"id":"","problemid":"2fa440e4-5281-403e-86d3-99e8dde2019d","type":"67ca04a8-7d11-43ce-b38e-a675ae2221au","time":"2017-07-25 05:49:12.0","position":"广东省广州市天河区广园快速路337号靠近中国地质科学院环境工程技术设计研究院华南分院","describe":"测试","patrolid":"xiaoyu2017-07-25","picture":"nullFileUploadpath/20170725054912243.jpg;FileUploadpath/20170725054912355.jpg;","video":"","lgtd":113.34412,"lttd":23.146253,"userId":"","state":"2","proResource":"0","addvcd":"440106000000","nativeprocessing":"0","cuur_userId":"","matterName":"","ispatrol":"1"},{"id":"","problemid":"c5589116-aa21-41a2-b2ff-5a233d45237c","type":"67ca04a8-7d11-43ce-b38e-a675ae2221au","time":"2017-07-23 22:31:20.0","position":"天河区广园快速路","describe":"鉴于规划活动的目的在与\u201c协调城乡空间布局\u201d，在规划控制角度的建设活动，\u201c违法建设应当是指影响城乡空间布局的活动。规划控制所称的空间布局，应当是指建设物和构筑物的空间布局","patrolid":"b57a5350-1ddf-4b5b-80e5-6036e2f5d3a1","picture":"FileUploadpath/20170723223116467.jpg;FileUploadpath/20170723223118686.jpg;FileUploadpath/20170723223120436.jpg;","video":"","lgtd":0,"lttd":0,"userId":"1","state":"2","proResource":"河长上报","addvcd":"440106000000","nativeprocessing":"","cuur_userId":"","matterName":"","ispatrol":"1"},{"id":"","problemid":"c5589116-aa21-41a2-b2ff-5a233d09209c","type":"1","time":"2017-07-23 22:31:20.0","position":"天河区广园快速路","describe":"yyydhsh采集器材质，","patrolid":"b57a5350-1ddf-4b5b-80e5-6036e2f5d3a2","picture":"FileUploadpath/20170723223116467.jpg;FileUploadpath/20170723223118686.jpg;FileUploadpath/20170723223120436.jpg;","video":"","lgtd":0,"lttd":0,"userId":"1","state":"2","proResource":"河长上报","addvcd":"440106000000","nativeprocessing":"","cuur_userId":"","matterName":"","ispatrol":"2"}]
     * code : 1
     * msg : 数据删除成功！
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Parcelable{
        /**
         * id :
         * problemid : 2fa440e4-5281-403e-86d3-99e8dde2019d
         * type : 67ca04a8-7d11-43ce-b38e-a675ae2221au
         * time : 2017-07-25 05:49:12.0
         * position : 广东省广州市天河区广园快速路337号靠近中国地质科学院环境工程技术设计研究院华南分院
         * describe : 测试
         * patrolid : xiaoyu2017-07-25
         * picture : nullFileUploadpath/20170725054912243.jpg;FileUploadpath/20170725054912355.jpg;
         * video :
         * lgtd : 113.34412
         * lttd : 23.146253
         * userId :
         * state : 2
         * proResource : 0
         * addvcd : 440106000000
         * nativeprocessing : 0
         * cuur_userId :
         * matterName :
         * ispatrol : 1
         */

        private String id;
        private String problemid;
        private String type;
        private String time;
        private String position;
        private String describe;
        private String patrolid;
        private String picture;
        private String video;
        private double lgtd;
        private double lttd;
        private String userId;
        private String state;
        private String proResource;
        private String addvcd;
        private String nativeprocessing;
        private String cuur_userId;
        private String matterName;
        private String ispatrol;

        protected DataBean(Parcel in) {
            id = in.readString();
            problemid = in.readString();
            type = in.readString();
            time = in.readString();
            position = in.readString();
            describe = in.readString();
            patrolid = in.readString();
            picture = in.readString();
            video = in.readString();
            lgtd = in.readDouble();
            lttd = in.readDouble();
            userId = in.readString();
            state = in.readString();
            proResource = in.readString();
            addvcd = in.readString();
            nativeprocessing = in.readString();
            cuur_userId = in.readString();
            matterName = in.readString();
            ispatrol = in.readString();
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeString(id);
            dest.writeString(problemid);
            dest.writeString(type);
            dest.writeString(time);
            dest.writeString(position);
            dest.writeString(describe);
            dest.writeString(patrolid);
            dest.writeString(picture);
            dest.writeString(video);
            dest.writeDouble(lgtd);
            dest.writeDouble(lttd);
            dest.writeString(userId);
            dest.writeString(state);
            dest.writeString(proResource);
            dest.writeString(addvcd);
            dest.writeString(nativeprocessing);
            dest.writeString(cuur_userId);
            dest.writeString(matterName);
            dest.writeString(ispatrol);
        }

        @Override
        public int describeContents() {
            return 0;
        }

        public static final Creator<DataBean> CREATOR = new Creator<DataBean>() {
            @Override
            public DataBean createFromParcel(Parcel in) {
                return new DataBean(in);
            }

            @Override
            public DataBean[] newArray(int size) {
                return new DataBean[size];
            }
        };

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getProblemid() {
            return problemid;
        }

        public void setProblemid(String problemid) {
            this.problemid = problemid;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public String getPosition() {
            return position;
        }

        public void setPosition(String position) {
            this.position = position;
        }

        public String getDescribe() {
            return describe;
        }

        public void setDescribe(String describe) {
            this.describe = describe;
        }

        public String getPatrolid() {
            return patrolid;
        }

        public void setPatrolid(String patrolid) {
            this.patrolid = patrolid;
        }

        public String getPicture() {
            return picture;
        }

        public void setPicture(String picture) {
            this.picture = picture;
        }

        public String getVideo() {
            return video;
        }

        public void setVideo(String video) {
            this.video = video;
        }

        public double getLgtd() {
            return lgtd;
        }

        public void setLgtd(double lgtd) {
            this.lgtd = lgtd;
        }

        public double getLttd() {
            return lttd;
        }

        public void setLttd(double lttd) {
            this.lttd = lttd;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public String getProResource() {
            return proResource;
        }

        public void setProResource(String proResource) {
            this.proResource = proResource;
        }

        public String getAddvcd() {
            return addvcd;
        }

        public void setAddvcd(String addvcd) {
            this.addvcd = addvcd;
        }

        public String getNativeprocessing() {
            return nativeprocessing;
        }

        public void setNativeprocessing(String nativeprocessing) {
            this.nativeprocessing = nativeprocessing;
        }

        public String getCuur_userId() {
            return cuur_userId;
        }

        public void setCuur_userId(String cuur_userId) {
            this.cuur_userId = cuur_userId;
        }

        public String getMatterName() {
            return matterName;
        }

        public void setMatterName(String matterName) {
            this.matterName = matterName;
        }

        public String getIspatrol() {
            return ispatrol;
        }

        public void setIspatrol(String ispatrol) {
            this.ispatrol = ispatrol;
        }
    }
}
